from rest_framework import serializers
from home import models


class NavSer(serializers.ModelSerializer):
    class Meta:
        model = models.Nav
        fields = '__all__'


class BanSer(serializers.ModelSerializer):
    class Meta:
        model = models.Banner
        fields = '__all__'
